package com.dxg.msns.user.pojo;

import java.io.Serializable;

/**
 * 用户登录响应VO
 */
public class UserLoginVO implements Serializable {

    private User user; // 用户唯一标识
    private String token; // 令牌

    public UserLoginVO() {
    }

    public UserLoginVO(User user, String token) {
        this.user=user;
        this.token=token;
    }


    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }


    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    @Override
    public String toString() {
        return "UserLoginVO{" +
                "user=" + user +
                ", token='" + token + '\'' +
                '}';
    }
}